package com.usian.user.service;

import com.usian.user.pojo.User;

import java.util.List;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 06 26 08 44
 **/
public interface UserService {

    /**
     * 查询全部
     */

    List<User> findAllUser();


    /**
     * 根据id查询
     */
    User findUserById(Integer id);

    User login(User user);

    int save(User user);
}
